<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?php if ($goto !='' && $wait != ''):?><meta http-equiv='Refresh' content='{$wait};URL={$goto}'><?php endif;?>
<title>{$title}</title>
<link href="/css/admin.css" rel="stylesheet" type="text/css" />
<?php if ($goto =='' && $wait != ''):?>
<script>
setTimeout ( "window.close()", {$wait} * 1000);
</script>
<?php endif;?>
</head>

<body>

<div class="ma w400 p30 pb20 k tc" style="margin-top:15%">
<div class="f14 b">{$message}{$error}</div>
<?php if ($text !=''):?><div class="mt20">{$text}</div><?php endif;?>
<div class="mt20">本页将在 {$wait} 秒后
<?php if ($goto!=''){echo '转向';}?>
<?php if ($goto=='' && $wait!=''){echo '关闭';}?>
</div>

<div class="mt20 tr">
<?php if ($goto != ''):?><input type="button" value="确定" class="btn" onclick="location.href='{$goto}'" /><?php endif;?>
<input type="button" value="关闭" class="btn" onclick="window.close()" />
</div>

<div class="c"></div>
</div>
</body>
</html>
